home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Voodoo Banshee 1.xpl < prev    next >
Text File  |  1999-09-10  |  2KB  |  78 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="3"
  4. "UIPATH"="Hardware\Video Cards\Voodoo Banshee"
  5. "NAME"="Direct3D Settings"
  6. "VERSION"="1.24"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Enable AntiAliasing in Direct3D Mode" 
  9. "TEXT 2"="Enable Overlay mode in Direct3D Mode"
  10. "TEXT 3"="Enable VSynch  in Direct3D Mode"
  11. "DESCRIPTION 1"="If "AntiAliasing" is enabled it will generally provide a better image."
  12. "DESCRIPTION 2"="If "Overlay mode" is enabled, the card displays a higher quality image. If disabled, increases speed but sacrifices performance."
  13. "DESCRIPTION 3"="If "VSynch" is enabled, it will increase image quality.  Enabling this feature may help fix graphic distortions in some games."
  14. "AUTHOR"="Xteq Systems"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  17. "COMMENT 2"="Thanks to Trevor for Voodoo Banshee settings."
  18.  
  19.  
  20. sV1="HKLM\System\CurrentControlSet\Services\Class\Display\0001\D3D\SSTH3_ANTIALIAS" 'STR
  21. sV2="HKLM\System\CurrentControlSet\Services\Class\Display\0001\D3D\SSTH3_OVERLAYMODE" 'STR
  22. sV3="HKLM\System\CurrentControlSet\Services\Class\Display\0001\D3D\SSTH3_SWAPINTERVA" 'STR
  23. Sub Plugin_Initialize 
  24.  if GetWinVer=1 or GetWinVer=3 then  '95/98
  25.     i=RegReadValue(sV1)
  26.     if i="1" then SetUiElement 1,true
  27.  
  28.     i=RegReadValue(sV2)
  29.     if i="1" then SetUiElement 2,true
  30.  
  31.     i=RegReadValue(sV3)
  32.     if i="1" then SetUiElement 3,true
  33.  
  34.  else
  35.     Call Disable()
  36.  end if
  37.  
  38. End Sub
  39.  
  40.  
  41. Sub Plugin_CheckData(ElementIndex)
  42. End Sub
  43.  
  44.  
  45.  
  46. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  47.  b=GetUIElement(1)
  48.  if b=true then
  49.     i=1
  50.  else
  51.     i=0
  52.  end if
  53.  Call RegWriteValue(sV1,i,1)
  54.  
  55.  b=GetUIElement(2)
  56.  if b=true then
  57.     i=1
  58.  else
  59.     i=0
  60.  end if
  61.  Call RegWriteValue(sV2,i,1)
  62.  
  63.  b=GetUIElement(3)
  64.  if b=true then
  65.     i=1
  66.  else
  67.     i=0
  68.  end if
  69.  Call RegWriteValue(sV3,i,1)
  70.  
  71.  
  72.  Call Restart()
  73. End Sub
  74.  
  75.  
  76. Sub Plugin_Terminate 
  77. End Sub
  78.